package com.xiaoma.decorator;
/**
 * @description  
 * @author wangtianxiang
 * @date: 2021/7/8 17:07
 */
public abstract class ShapeDecorator implements Shape{
    protected Shape decoratedShape;
    public ShapeDecorator(Shape decoratedShape){
        this.decoratedShape = decoratedShape;
    }

    public void draw(){
        decoratedShape.draw();
    }
}
